<!-- 
*   @Description:
*   @Author:lxy
*   @Date:2023-03-23 10:23
-->
<template>
  <div class="revenueInfoThree_box">
    <revenueInFoTitle :title="'经济支出明细'">
      <p>包括采购、发放工资等事项</p>
    </revenueInFoTitle>
    <div class="revenueInfoThree_content CHAGE_SCROLLBAR">
      <div class="revenueInfoThree_ulDiv" v-for="(item,index) in dataAll" :key="index">
        <span :title="item.titleName">{{ item.titleName }}</span>
        <span>{{ item.data }}</span>
      </div>
    </div>
  </div>
</template>

<script>
import revenueInFoTitle from "../../componentsPage/revenueInFoTitle.vue";
export default {
  name: "revenueInfoThree",
  components: {
    revenueInFoTitle,
  },
  data() {
    return {
      dataAll: [
        { titleName: "招揽工人", data: "2023-05-10" },
        { titleName: "场地扩建", data: "2023-05-15" },
        { titleName: "智能设备采购", data: "2023-05-08" },
        { titleName: "工资发放", data: "2023-04-15" },
        { titleName: "违规补税", data: "2023-03-15" },
        { titleName: "工资发放", data: "2023-03-15" },
        { titleName: "智能设备采购", data: '2023-02-09' },
        { titleName: "假期开工聚餐", data: "2023-01-29" },
      ],
    };
  },
};
</script>

<style scoped lang="less">
.revenueInfoThree_box {
  width: 350px;
  height: 350px;
  padding: 30px;
  box-sizing: border-box;
  box-shadow: 0px 0px 20px 0px rgba(17, 26, 52, 0.1);
  .revenueInfoThree_content {
    // background-color: aqua;
    box-sizing: border-box;
    margin-top: 20px;
    height: calc(100% - 55px);
    overflow: auto;
    .revenueInfoThree_ulDiv {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 15px 10px 15px 5px;
      span {
        font: 400 16px/18px "微软雅黑";
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        &:last-child {
          color: #5a5757;
          width: 110px;
          text-align: right;
        }
        &:first-child {
          width: 160px;
          color: rgb(49, 49, 49);
        }
      }
    }
  }
}
</style>
